use "C:\Users\ipsas\Desktop\revising\jjps deadline may\replicate data and code\TEDS 2012.dta"
logit vote birth1984##c.iusage dispoli partisan gender edu
margins birth1984, dydx(iusage)
logit vote birth1984##c.iusage dispoli partisan gender edu if bigcity==1
margins birth1984, dydx(iusage)

use "C:\Users\ipsas\Desktop\revising\jjps deadline may\replicate data and code\TEDS 2014.dta"
logit vote birth1984##c.iusage dispoli partisan gender edu
margins birth1984, dydx(iusage)
margins birth1984, at(iusage=(0(1)3))
marginsplot, xlabel(0(1)3) recast(line) recastci(rarea)
graph save Graph "C:\Users\ipsas\Desktop\revising\jjps deadline may\JJP-D-18-00026\Graph 4.gph", replace

use "C:\Users\ipsas\Desktop\revising\jjps deadline may\replicate data and code\TEDS 2016.dta"
logit vote birth1984##c.iusage dispoli partisan gender edu
margins birth1984, dydx(iusage)
logit vote birth1984##c.iusage dispoli partisan gender edu if bigcity==1
margins birth1984, dydx(iusage)
use "C:\Users\ipsas\Desktop\revising\jjps deadline may\replicate data and code\abs 2014.dta"
logit selfhlp birth1984##c.iusage dispoli partisan gender edu
margins birth1984, dydx(iusage)
margins birth1984, at(iusage=(0(1)3))
marginsplot, xlabel(0(1)3) recast(line) recastci(rarea)
graph save Graph "C:\Users\ipsas\Desktop\revising\jjps deadline may\JJP-D-18-00026\Graph 5-1.gph", replace

logit lobby birth1984##c.iusage dispoli partisan gender edu
margins birth1984, dydx(iusage)
margins birth1984, at(iusage=(0(1)3))
marginsplot, xlabel(0(1)3) recast(line) recastci(rarea)
graph save Graph "C:\Users\ipsas\Desktop\revising\jjps deadline may\JJP-D-18-00026\Graph 5-2.gph", replace
